package com.yyplatform.admin.platform.config.model.enums;

import com.yyplatform.admin.infra.model.enums.OptionEnum;

/**
 * Created on 2024-09-25
 */
public enum ConfigKeyEnum implements OptionEnum<String> {

    FILE_UPLOAD_CONFIG("fileUploadConfig", "文件上传配置"),
    //
    ;

    private String key;
    private String name;

    ConfigKeyEnum(String key, String name) {
        this.key = key;
        this.name = name;
    }


    @Override
    public String getValue() {
        return key;
    }

    @Override
    public String getLabel() {
        return name;
    }
}
